// 组件引入
import TopicDeptSelect from './components/TopicDeptSelect'
import InnerTable from './components/InnerTable';
import DraftDrawer from './components/DraftDrawer'
import Uploader from "@/custom/nepu/components/Uploader"
import LoginUserCell from '@/custom/nepu/components/LoginUserCell'
import AntdUserMulSelect from '@/module/system/components/AntdUserMulSelect'

// JS 引入
import { queryOne as getUser } from '@/module/system/api/user'
import { createOne as createDraft } from '@/custom/nepu/api/draft'
import { mergeWith } from 'lodash-es'
// STORE 引入
import useUserStore from '@/store/modules/user'
const userStore = useUserStore()
// 表单定义
const formDefault = {
    topicDictId: undefined,
    leader: undefined,
    leaderId: 0,
    topicName: undefined,
    userIdList: [],
    fileIds: [],
    startDate: null,
    endDate: null,
    deptName: undefined,
    buildDate: null,
    receivedFunds: undefined,
    topicFunds: 0,
    isDelay: 0,
    topicCode: undefined,
    successDate: undefined,
    delayMonths: undefined,
}

export {
    Uploader,
    TopicDeptSelect,
    InnerTable,
    LoginUserCell,
    DraftDrawer,
    getUser,
    formDefault,
    createDraft,
    userStore,
    mergeWith,
    AntdUserMulSelect
}